#ifndef CHEMNITZ_H
#define CHEMNITZ_H

#include <stdio.h>
#include <string.h>
#include <stdint.h>

#ifndef XTEA
#define BYTES_PER_BLOCK 16
typedef uint64_t halfblock_t;
#else
#define BYTES_PER_BLOCK 8
typedef uint32_t halfblock_t;
#endif
#define BLOCK_MASK (BYTES_PER_BLOCK - 1)


void chemnitz_encrypt (const uint8_t *plaintextblock, 
											 const uint8_t *key, 
											 /*@out@*/ const uint8_t *ciphertextblock);

void chemnitz_version (/*@out@*/ char **buffer);

#endif

